package com.example.kaogong.sys.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @description: 新增课程传输对象
 * @author: 徐文升
 * @create: 2022-04-07 19:01
 **/

@Data
@EqualsAndHashCode
@ApiModel(value = "CourseAddDto", description = "新增课程传输对象")
public class CourseAddDto {

    @NotNull(message = "课程类型编号不能为空")
    @ApiModelProperty(value = "课程类型编号")
    private Integer typeId;

    @NotBlank(message = "课程名不能为空")
    @ApiModelProperty(value = "课程名")
    private String courseName;

    @ApiModelProperty(value = "课程标签")
    private List<Integer> courseTags;

    @ApiModelProperty(value = "课程备注")
    private String courseMark;

    @ApiModelProperty(value = "课程特点")
    private String courseFeature;

    @ApiModelProperty(value = "课程说明")
    private String courseExplain;

}
